{/* LAYOUT模板 */}
	<layout name="layout"/>
{/* LAYOUT模板 */}

{/* import Js,Css */}
	<js href="__PUBLIC__/js/admin/listTable.js"/>
	<js href="__PUBLIC__/js/admin/js.util.js"/>
	<css href="__PUBLIC__/css/admin/common.css"/>
	
	<css href="__PUBLIC__/css/jquery-ui.css" />
	<js href="__PUBLIC__/js/core/jquery-ui.1.10.4.js" />
	<js href="__PUBLIC__/js/core/plugins.js"/>
{/* import js,css */}

<!-- [position] -->
	<include file="Template:position"/>
<!-- [position] -->

<form method="post" action="" name="listForm">
<!-- start goods type list -->
<div class="list-div" id="listDiv">

<table width="100%" cellpadding="3" cellspacing="1" id="listTable">
	<tbody>
		<tr>
			<th>商品类型名称</th>
			<th>属性分组</th>
			<th>属性数</th>
			<th>状态</th>
			<th>操作</th>
		</tr>
		<volist name="typeList" id="type">
		<tr id="tr_{$type.cat_id}">
			<td class="first-cell" style="background-color: rgb(255, 255, 255);">
				<span onclick="javascript:listTable.edit(this, 'edit_type_name', 2)">{$type.cat_name}</span>
			</td>
			<td style="background-color: rgb(255, 255, 255);"></td>
			<td align="right" style="background-color: rgb(255, 255, 255);">{$type.attr_count}</td>
			<td align="center" style="background-color: rgb(255, 255, 255);">
				<if condition="$type['enabled'] eq 1">
					<img src="__PUBLIC__/Image/admin/yes.gif">
				<else/>
					<img src="__PUBLIC__/Image/admin/no.gif">
				</if>
			</td>
			<td align="center" style="background-color: rgb(255, 255, 255);">
				<a href="__APP__/attribute/attribute_list?goods_type={$type.cat_id}" title="属性列表">属性列表</a> |
				<a href="__URL__/mod_type?id={$type.cat_id}" title="编辑">编辑</a> |
				<a href="__URL__/del_type?id={$type.cat_id}" title="移除">移除</a>
			</td>
		</tr>
		</volist>
	</tbody>
</table>
</div>
<!-- end goods type list -->
</form>